.class final Lcom/htc/android/footprints/activity/FootprintCamera$JpegPictureCallback;
.super Ljava/lang/Object;
.source "FootprintCamera.java"

# interfaces
.implements Landroid/hardware/Camera$PictureCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/activity/FootprintCamera;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x12
    name = "JpegPictureCallback"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/FootprintCamera;


# direct methods
.method private constructor <init>(Lcom/htc/android/footprints/activity/FootprintCamera;)V
    .locals 0
    .parameter

    .prologue
    .line 721
    iput-object p1, p0, Lcom/htc/android/footprints/activity/FootprintCamera$JpegPictureCallback;->this$0:Lcom/htc/android/footprints/activity/FootprintCamera;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/htc/android/footprints/activity/FootprintCamera;Lcom/htc/android/footprints/activity/FootprintCamera$1;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 721
    invoke-direct {p0, p1}, Lcom/htc/android/footprints/activity/FootprintCamera$JpegPictureCallback;-><init>(Lcom/htc/android/footprints/activity/FootprintCamera;)V

    return-void
.end method


# virtual methods
.method public onPictureTaken([BLandroid/hardware/Camera;)V
    .locals 4
    .parameter "jpegData"
    .parameter "camera"

    .prologue
    .line 724
    iget-object v2, p0, Lcom/htc/android/footprints/activity/FootprintCamera$JpegPictureCallback;->this$0:Lcom/htc/android/footprints/activity/FootprintCamera;

    const v3, 0x7f0c0057

    invoke-virtual {v2, v3}, Lcom/htc/android/footprints/activity/FootprintCamera;->findViewById(I)Landroid/view/View;

    move-result-object v1

    .line 725
    .local v1, text:Landroid/view/View;
    iget-object v2, p0, Lcom/htc/android/footprints/activity/FootprintCamera$JpegPictureCallback;->this$0:Lcom/htc/android/footprints/activity/FootprintCamera;

    invoke-virtual {v2}, Lcom/htc/android/footprints/activity/FootprintCamera;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f040004

    invoke-static {v2, v3}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    .line 727
    .local v0, anim:Landroid/view/animation/Animation;
    const-wide/16 v2, 0x12c

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 728
    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/view/animation/Animation;->setFillAfter(Z)V

    .line 729
    invoke-virtual {v1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 731
    iget-object v2, p0, Lcom/htc/android/footprints/activity/FootprintCamera$JpegPictureCallback;->this$0:Lcom/htc/android/footprints/activity/FootprintCamera;

    #getter for: Lcom/htc/android/footprints/activity/FootprintCamera;->mImageCapture:Lcom/htc/android/footprints/activity/FootprintCamera$ImageCapture;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/FootprintCamera;->access$1700(Lcom/htc/android/footprints/activity/FootprintCamera;)Lcom/htc/android/footprints/activity/FootprintCamera$ImageCapture;

    move-result-object v2

    invoke-virtual {v2, p1, p2}, Lcom/htc/android/footprints/activity/FootprintCamera$ImageCapture;->storeImage([BLandroid/hardware/Camera;)V

    .line 732
    iget-object v2, p0, Lcom/htc/android/footprints/activity/FootprintCamera$JpegPictureCallback;->this$0:Lcom/htc/android/footprints/activity/FootprintCamera;

    const/4 v3, 0x5

    #setter for: Lcom/htc/android/footprints/activity/FootprintCamera;->mStatus:I
    invoke-static {v2, v3}, Lcom/htc/android/footprints/activity/FootprintCamera;->access$1602(Lcom/htc/android/footprints/activity/FootprintCamera;I)I

    .line 733
    return-void
.end method
